﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JLL.China.Infrastructure.Repositories.Listings
{
    using JLL.China.Infrastructure.RepositoryFramework;
    using JLL.China.Model;
    using JLL.China.Model.DTO;
 
    public interface  IListingsRepository : IRepository<Model.Listings, int>
    {
       
        Model.Listings FindById(int id);

        IList<Model.Listings> Search(ListingSearchCriteria searchCriteria);
        int CountListings(ListingSearchCriteria searchCriteria);
        int Post(Model.Listings listing);
        void ChangeStatus(string arrayId,int status);
    }
}
